home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / libraries / diskfont.h < prev    next >
C/C++ Source or Header  |  1989-11-09  |  914b  |  49 lines

  1. #ifndef    LIBRARIES_DISKFONT_H
  2. #define    LIBRARIES_DISKFONT_H
  3. #ifndef EXEC_TYPES_H
  4. #include "exec/types.h"
  5. #endif /* !EXEC_TYPES_H */
  6. #ifndef    EXEC_NODES_H
  7. #include    "exec/nodes.h"
  8. #endif
  9. #ifndef    EXEC_LISTS_H
  10. #include    "exec/lists.h"
  11. #endif
  12. #ifndef    GRAPHICS_TEXT_H
  13. #include    "graphics/text.h"
  14. #endif
  15. #define    MAXFONTPATH    256
  16. struct    FontContents    {
  17. char    fc_FileName[MAXFONTPATH];
  18. UWORD    fc_YSize;
  19. UBYTE    fc_Style;
  20. UBYTE    fc_Flags;
  21. };
  22. #define    FCH_ID    0x0f00
  23. struct    FontContentsHeader    {
  24. UWORD    fch_FileID;
  25. UWORD    fch_NumEntries;
  26. };
  27. #define    DFH_ID    0x0f80
  28. #define    MAXFONTNAME    32
  29. struct    DiskFontHeader    {
  30. struct    Node    dfh_DF;
  31. UWORD    dfh_FileID;
  32. UWORD    dfh_Revision;
  33. LONG    dfh_Segment;
  34. char    dfh_Name[MAXFONTNAME];
  35. struct    TextFont    dfh_TF;
  36. };
  37. #define    AFB_MEMORY    0
  38. #define    AFF_MEMORY    1
  39. #define    AFB_DISK    1
  40. #define    AFF_DISK    2
  41. struct    AvailFonts    {
  42. UWORD    af_Type;
  43. struct    TextAttr    af_Attr;
  44. };
  45. struct    AvailFontsHeader    {
  46. UWORD    afh_NumEntries;
  47. };
  48. #endif
  49.